<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2023-10-26
  Time: 9:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>更新员工</title>
</head>
<body>
    <form action="/updateEmployee" method="post" enctype="multipart/form-data">
        编号：<input type="hidden" name="id" value="${employee.id}"/><br>
        姓名：<input type="text" name="name" value="${employee.name}"/><br>
        年龄：<input type="text" name="age" value="${employee.age}"/><br>
        性别：<input type="text" name="gender" value="${employee.gender}"/><br>
        职位：<input type="text" name="position" value="${employee.position}"/><br>
        部门：<input type="text" name="deptId" value="${employee.deptId}"/><br>
        照片：<input type="file" name="image1" value="${employee.image}"/><br>
        <input type="submit" value="保存"/>
    </form>
</body>
</html>
